/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package us.oh.k12.wkw.robot.command;

/**
 *
 * @author Team4145
 */
public class DriveSmallLeftTurnCmd extends CommandWithTimeout{
    
    public DriveSmallLeftTurnCmd() {
        
        super("DriveSmallLeftTurnCmd", .01);
        this.requires(this.getDriveSystem());
        
    }
    
    protected void execute() {
        
        this.getDriveSystem().tankDrive(1.0, -1.0);
        
    }
    
    
        protected void interrupted() {
        
        this.getDriveSystem().stop();
        
        System.out.println("SmallTurnLeft interrupted");
    }
    
    
    protected boolean isFinished() {
        
        return this.isTimedOut();
        
    }
}
